<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
	.invoice_table tr td div{padding-left:8px;padding-right:8px;}
	.style_3{border-left:5px solid #fff;width:377px;}
</style>
<body topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0" style="background-color:#f5f5f5">
    {{foreach from=$orderinfo item=info key=key}}
        	{{foreach from=$info.print_img item=imginfo key=subkey}}
            {{if $info.orderType neq 10}}
            	{{if $info.customerqq=='GB' and $info.orderType eq 4 and $subkey==0 and strlen($info.mailNo)>20}}
                    <div style="width:380px;background:url(../{{$imginfo}});height:380px;position:relative;">
                        <img src="{{$imginfo}}" class="style_{{$info.orderType}}" width="380" height="380"/>
                         <div style="width:240px;height:63px;bottom:1px;right:20px;;background:#fff;position:absolute">
                         <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="218" height="45"/>
                         <div style="font-size:12px;margin-left:30px;margin-top:2px;font-family:Arial;font-weight:bold;">{{$info.mailNo}}</div>
                         </div>
                    </div>
            	{{else}}
                    {{if $info.orderType eq 3}}
                    	{{if $subkey==0}}
                            <div style="width:380px;position:relative;">
                                <img src="{{$imginfo}}" class="style_{{$info.orderType}}" width="380"/>
                                 <div style="width:250px;height:50px;left:15px;top:385px;position:absolute;background:#fff;">
                                 <div style="font-size:7.5pt;text-align:left;margin-left:8px;font-family:Arial;font-weight:bold;background:#fff;"><img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="230" height="49"/></div>
                                 </div>
                            </div>
                        {{/if}}
                        {{if $subkey==1 && $info.mailinstime<='1522662938'}}
                            <div style="width:380px;position:relative;">
                                <img src="{{$imginfo}}" class="style_{{$info.orderType}}" width="380"/>
                                 <div style="width:200px;height:19px;left:1px;top:353px;position:absolute">
                                 <div style="font-size:7.5pt;text-align:left;margin-left:9px;font-family:Arial;font-weight:bold;background:#fff;">Ref:&nbsp;{{$info.orderID}}</div>
                                 </div>
                            </div>
                        {{/if}}
                    {{else}}
                    	{{if $info.orderType eq 12}}
                            <div style="width:380px;height:570px;position:relative;overflow:hidden;">
                                <img src="{{$imginfo}}" style="margin-left:-20px;margin-top:-8px;" class="style_{{$info.orderType}}" width="410"/>
                                 <div style="width:308px;height:100px;left:30px;line-height:26px;top:{{$info.topwidth}};position:absolute;background:#fff;text-align:center;">
                                 <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="270" height="70"/><br>
        <strong style="font-size:14px;"> {{$info.mailNo}}</strong>
                                 
                                 </div>
                            </div>
                        {{else}}
                            {{if $info.orderType eq 14}}
<div style="padding-left:5px;">
<table height="370" border="0"  cellpadding="0" cellspacing="0" class="invoice_table" style="background-color:#fff;width:378px;overflow:hidden;">
   <tr>
                                  <td valign="top" style="position:relative;"><div style="line-height:38px;border-bottom:1px solid #3e3e3e" align="right"><strong>&nbsp;标准快递&nbsp;</strong></div>
                                  <div style="line-height:48px;height:50px;padding:4px 4px;border-bottom:1px solid #3e3e3e;text-align:center;font-size:34pt;"><strong>
                                  {{$info['packageinfo'][0]}}</strong></div>
                                  <div style="line-height:36px;border-bottom:1px solid #3e3e3e"><strong style="border:3px solid #000;">&nbsp;集&nbsp;</strong> <strong style="font-size:20px;">{{$info['packageinfo'][1]}}</strong></div>
                                        <div style="line-height:38px;border-bottom:1px solid #3e3e3e">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                        <td style="width:25px">收<br>件</td>
                                        <td style="font-size:16px;padding:6px 0px;font-weight:bold;"><div style="padding:0px;font-weight:bold;">{{$info['customerid']}} 
                                        <span style="margin-left:20px;font-weight:bold;">{{$info['customertel1']}}</span></div>
                                        {{$info['customerprovince']}}{{$info['customercity']}}{{$info['customeraddress']}}</td>
                                        </tr>
                                      </table>
                                     </div>
                                    
                                    <div style="line-height:24px;border-bottom:1px solid #3e3e3e;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                                      <tr>
                                      <td style="font-size:10pt;width:25px">寄<br>件</td>
                                      <td style="font-size:9pt;line-height:18px;">漫创旗舰店 
                                        <span style="margin-left:30px;">18049897965</span><br>上海上海市嘉定区华江公路1028号2号楼5楼</td>
                                    </tr></table></div>               
                                    <div style="padding:4px 0px;text-align:center;border-bottom:1px solid #3e3e3e">
                                    <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="280" height="48"/>
                                    <div align="center" style="font-size:16pt;">{{$info["billCode"]}}</div>   
                                    </div> 
                                    
                                    <div align="center" style="margin-bottom:8px;{{$info['address_len']}}">
                                      <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td width="20%" valign="top" style="font-size:9px;padding:4px 6px;border-right:1px solid #000">{{$info['print_date']}}
<div style="margin-top:8px;padding:0px;">打印时间</div></td>
                                          <td width="50%" style="font-size:9px;padding:4px 6px;border-right:1px solid #000"><small>您的签字代表您已验收此包裹,并已确认
商品信息无误,包装完好,没有划痕、破
损等表面质量问题。</small></td>
                                          <td><div align="left" style="font-size:12px;line-height:24px;">签收人：<br>
时 间：</div></td>
                                        </tr>
                                      </table>
                                    </div>
                                    <div style="border-bottom:1px solid #3e3e3e;text-align:right;padding:5px 10px;">
<img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="160" height="24"/><br>
<div style="letter-spacing:0px">{{$info["billCode"]}}</div>
                                    </div>
<div style="line-height:38px;border-bottom:1px solid #3e3e3e">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td style="font-size:10pt;width:20px">收<br>件</td>
        <td style="font-size:10px;line-height:20px;"><div style="padding:0px;">{{$info['customerid']}} 
        <span style="margin-left:30px;">{{$info['user_mobile']}}</span></div>
        <div style="padding:0px;height:22px;overflow:hidden;">{{$info['customerprovince']}}{{$info['customercity']}}{{$info['customeraddress']}}</div></td>
        </tr>
      </table>
     </div>
    
    <div style="line-height:24px;border-bottom:1px solid #3e3e3e;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
      <td style="font-size:10pt;width:20px">寄<br>件</td>
      <td style="font-size:10px;line-height:20px;">漫创旗舰店 
        <span style="margin-left:30px;">18049897965</span><br>上海上海市嘉定区华江公路1028号2号楼5楼</td>
    </tr></table></div>
    <div style="height:120px;overflow:hidden;position:relative;">
     <div class="text1" style="font-size:12px;padding:0px;">买家旺旺：{{$info['userid']}} &nbsp;订单号：{{$info['tradeid']}}
     {{if $info['platform_message1'] neq ''}}<br>买家备注：{{$info['platform_message']|getstr:50:0}}{{/if}}
     </div>
        {{foreach from=$info.goodslist item=res key=key}}
        <div class="txtpage" style="font-size:12px;padding:0px;">
      		<span class="text1" style="font-size:12px;">
              <b>&lt;{{$res.goods_sn}}&gt;*{{$res.goods_number}}</b>
              {{foreach from=$res.stock item=resstcok key=key}}
              __<b>{{$resstcok.storage_name}}__{{$resstcok.positions}}__库存{{$resstcok.stock}}</b>__{{$res.goods_name|getstr:9:0}}<br>
              {{/foreach}}</span></div>
        {{/foreach}}
        <div align="right" style="position:absolute;bottom:10px;right:10px;font-size:10px;">已验视</div>
        </div>                   
                                  </td>
                                </tr>
                              </table>
         </div>
                         {{else}}
                            <img src="../{{$imginfo}}" class="style_{{$info.orderType}}" width="380"
                             style="background-color:#fff;clear:both;display:block;"/>
                     	 {{/if}}
                       {{/if}}
                    {{/if}}
                {{/if}}
            {{/if}}
             {{if $info.orderType eq 10}}
             <div style="width:378px;background:url(../{{$imginfo}});height:378px;position:relative;">
             	<img src="../{{$imginfo}}" class="style_{{$info.orderType}}" width="378" height="377"/>
            	 <div style="width:175px;height:77px;top:78px;left:28px;background:#fff;position:absolute">
                 <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="170" height="52"/>
                 <div style="font-size:14px;margin-left:30px;margin-top:4px;font-family:Arial, Helvetica, sans-serif">{{$info.mailNo}}</div>
                 </div>
             </div>
             {{/if}}
            {{/foreach}}
            
<div class="page1 pagelist" style="display:{{if $info.orderType neq 10}}none;{{/if}};clear:both;">
  <table height="376" border="0"  cellpadding="0" cellspacing="0" class="invoice_table" style="background-color:#fff;width:378px;">
    <tr>
      <td valign="top"><div style="line-height:38px;border-bottom:1px solid #3e3e3e">
        <div align="center"><strong>&nbsp;配货单</strong></div>
      </div>
<div style="padding-top:16px;text-align:center;">
<table border="0" width="100%">
<tr>
<td><img src="/fuman/images/yida_logo.png" ></td>
<td>&nbsp;<img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="150" height="47"/><br>
        <strong style="font-size:14px;">运单号：{{$info.mailNo}}</strong></td>
</tr>
</table>
        </div>
<div align="center" style="margin-top:10px;"><img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["orderID"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="270" height="47"/><br>
        <strong style="font-size:14px;">平台订单号：{{$info.orderID}}</strong></div>
        {{foreach from=$info.goodslist item=res key=key}}
            
        <div class="txtpage" style="padding-top:4px;line-height:21px;">
              <span class="text1" style="font-size:13px;">
              &nbsp;&nbsp;{{$res.goods_name}}<br/>
              &nbsp;&nbsp;&nbsp;{{$res.goods_sn}} * <b> {{$res.goods_number}}</b>
              {{foreach from=$res.stock item=resstcok key=key}}
              &nbsp;&nbsp;{{$resstcok.storage_name}}__{{$resstcok.positions}}&nbsp;&nbsp;&nbsp; 库存{{$resstcok.stock}}<br>
              {{/foreach}}</span></div>
        {{/foreach}} 


      </td>
    </tr>
  </table>
</div>
{{if $info.orderType eq 12}}
<div class="page1 pagelist" style="clear:both;">
  <table height="570" border="0"  cellpadding="0" cellspacing="0" class="invoice_table" style="background-color:#fff;width:380px;">
    <tr>
      <td valign="top"><div style="line-height:38px;border-bottom:1px solid #3e3e3e">
        <div align="center"><strong>&nbsp;配货单</strong></div>
      </div>
<div style="padding-top:16px;text-align:center;">
<table border="0" width="100%">
<tr>
<td><img src="/fuman/images/jiaclogo.png" ></td>
<td>&nbsp;<img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="200" height="50"/><br>
        <strong style="font-size:14px;">运单号：{{$info.mailNo}}</strong></td>
</tr>
</table>
        </div>
<div align="center" style="margin-top:10px;"><img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["orderID"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="270" height="47"/><br>
        <strong style="font-size:14px;">平台订单号：{{$info.orderID}}</strong></div>
        {{foreach from=$info.goodslist item=res key=key}}
            
        <div class="txtpage" style="padding-top:4px;line-height:21px;">
      <span class="text1" style="font-size:16px;">
              &nbsp;&nbsp;<b>&lt;{{$res.goods_sn}}&gt;*{{$res.goods_number}}</b>
              {{foreach from=$res.stock item=resstcok key=key}}
              __<b>{{$resstcok.storage_name}}__{{$resstcok.positions}}__库存{{$resstcok.stock}}</b>__{{$res.goods_name}}<br>
              {{/foreach}}</span></div>
        {{/foreach}} 


      </td>
    </tr>
  </table>
</div>
{{/if}}
{{if $info.orderType eq 4}}
<div class="page1 pagelist" style="clear:both;">
  <table height="374" border="0"  cellpadding="0" cellspacing="0" class="invoice_table" style="background-color:#fff;width:381px;">
    <tr>
      <td valign="top"><div style="line-height:38px;border-bottom:1px solid #3e3e3e">
        <div align="center"><img src="/fuman/images/cne_title.png" height="45" ></div>
      </div>
<div style="padding-top:16px;text-align:center;">
<table border="0" width="100%">
<tr>
<td><img src="/fuman/images/cne_logo.png" width="98" ></td>
<td align="center">&nbsp;<img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["mailNo"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="240" height="47"/>&nbsp;&nbsp;<br>
        <strong style="font-size:15px;">运单号：{{$info.mailNo}}</strong></td>
</tr>
</table>
        </div>
        {{foreach from=$info.goodslist item=res key=key}}
        <div class="txtpage" style="padding:0px 12px;padding-top:4px;line-height:21px;">
              <span class="text1" style="font-size:13px;font-weight:bold">
              &nbsp;{{$res.goods_number}}*&lt;{{$res.goods_sn}}&gt;{{$res.goods_name}}  
              {{foreach from=$res.stock item=resstcok key=key}}__{{$resstcok.storage_name}}__{{$resstcok.positions}}&nbsp;&nbsp;库存{{$resstcok.stock}}<br>
              {{/foreach}}</span></div>
        {{/foreach}} 

<div style="font-size:14px;font-weight:bold;"><br><br><br>
总计{{$info.goodslist|count}}个SKU, {{$info.goods_total}}个物品,当前第1页,共1页
</div>
      </td>
    </tr>
  </table>
</div>
{{/if}}         
            
<div class="page1 pagelist" style="display:{{if $info.orderType neq 3}}none;{{/if}};clear:both;">
  <table height="768" border="0"  cellpadding="0" cellspacing="0" class="invoice_table" style="background-color:#fff;width:383px;;margin-top:10px;">
    <tr>
      <td valign="top"><div style="line-height:38px;border-bottom:1px solid #3e3e3e"><strong>&nbsp;INVOICE</strong></div>
      <div style="line-height:38px;border-bottom:1px solid #3e3e3e"><strong>&nbsp;{{$info.shopname}}{{if $info.shopoper!=''}}[{{$info.shopoper}}]{{/if}}</strong></div>
        {{foreach from=$info.goodslist item=res key=key}}
        <div class="txtpage" style="padding-top:8px;line-height:24px;">
              <span class="text1"><div style="padding-left:10px;">{{$res.goods_name}}</div>
              &nbsp;&nbsp;{{$res.goods_sn}} * <b> {{$res.goods_number}}</b>
              {{foreach from=$res.stock item=resstcok key=key}}
              &nbsp;{{$resstcok.storage_name}}&nbsp;{{$resstcok.positions}}&nbsp;&nbsp; 库存{{$resstcok.stock}}<br>
              {{/foreach}}
              <br>
              
        &nbsp;&nbsp;单号:{{$info.tradeid}}</span>                      </div>
        {{/foreach}} 
        <div style="line-height:38px;border-bottom:1px solid #3e3e3e">&nbsp;&nbsp;</div>               
        <div style="padding-top:16px;text-align:center;">
        <img src="http://192.168.1.66/fuman/barcode/html/image.php?filetype=PNG&dpi=72&scale=1&rotation=0&font_family=Arial.ttf&font_size=0&text={{$info["tradeid"]}}&thickness=30&checksum=1&code=BCGcode128" alt="" width="350" height="90"/>   
        </div> 
        
        <div align="center"><br /><strong>TRADEID &nbsp;{{$info.tradeid}}</strong></div>
        <div style="line-height:38px;border-bottom:1px solid #3e3e3e">&nbsp;&nbsp;</div>
      </td>
    </tr>
  </table>
</div>
    {{/foreach}}
</body>
</html>